﻿var url = require('url'),
    http = require('http');

var req = http.request({
    host: 'localhost',
    port: 15001,
    method: 'GET',
    path: '/core.js'
}, function (res) {

    console.log(typeof res);
    console.log(res.statusCode);
    //res.end();
});

console.log('over');
req.end();